package com.groupbuying.settleconsumer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleconsumer.dao.SettleUshopYsSplitSyncreceiptDao;
import com.groupbuying.settleconsumer.domain.SettleUshopYsSplitSyncreceiptDO;
import com.groupbuying.settleconsumer.service.SettleUshopYsSplitSyncreceiptService;



@Service
public class SettleUshopYsSplitSyncreceiptServiceImpl implements SettleUshopYsSplitSyncreceiptService {
	@Autowired
	private SettleUshopYsSplitSyncreceiptDao settleUshopYsSplitSyncreceiptDao;
	
	@Override
	public SettleUshopYsSplitSyncreceiptDO get(Integer id){
		return settleUshopYsSplitSyncreceiptDao.get(id);
	}
	
	@Override
	public List<SettleUshopYsSplitSyncreceiptDO> list(Map<String, Object> map){
		return settleUshopYsSplitSyncreceiptDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopYsSplitSyncreceiptDao.count(map);
	}
	
	@Override
	public int save(SettleUshopYsSplitSyncreceiptDO settleUshopYsSplitSyncreceipt){
		return settleUshopYsSplitSyncreceiptDao.save(settleUshopYsSplitSyncreceipt);
	}
	
	@Override
	public int update(SettleUshopYsSplitSyncreceiptDO settleUshopYsSplitSyncreceipt){
		return settleUshopYsSplitSyncreceiptDao.update(settleUshopYsSplitSyncreceipt);
	}
	
	@Override
	public int remove(Integer id){
		return settleUshopYsSplitSyncreceiptDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return settleUshopYsSplitSyncreceiptDao.batchRemove(ids);
	}
	
}
